package com.cqjtu.store.product.pojo.dto;

import com.cqjtu.store.common.PageDTO;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * @ProjectName: cqjtu-store
 * @Titile: ProductCategoryDTO
 * @Author: Lucky
 * @Description: 分类查询商品列表分页dto
 */
@Data
public class ProductCategoryPageDTO extends PageDTO {
    /*分类id*/
    //@Pattern(message = "必须是数字",regexp = "/^13\\d{11}&/")
    private Integer categoryId;
    private Integer parentId;
    private Integer isParent;
    private Integer id;
}
